package com.tju.ocean_ecology_website.entity;

import java.util.Date;
import java.io.Serializable;

/**
 * 公告表(Announcement)实体类
 *
 * @author shaolong
 * @since 2025-04-29 19:30:13
 */
public class Announcement implements Serializable {
    private static final long serialVersionUID = 288601093348692250L;
/**
     * 公告ID
     */
    private Long id;
/**
     * 公告标题
     */
    private String title;
/**
     * 公告内容
     */
    private String content;
/**
     * 发布时间
     */
    private Date publishTime;
/**
     * 重要性：0-普通, 1-重要, 2-紧急
     */
    private Integer importance;
/**
     * 结束时间
     */
    private Date endTime;
/**
     * 状态：0-活跃, 1-非活跃
     */
    private Integer status;
/**
     * 创建时间
     */
    private Date createTime;
/**
     * 更新时间
     */
    private Date updateTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getPublishTime() {
        return publishTime;
    }

    public void setPublishTime(Date publishTime) {
        this.publishTime = publishTime;
    }

    public Integer getImportance() {
        return importance;
    }

    public void setImportance(Integer importance) {
        this.importance = importance;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

}

